$sidebar-first-bg: white; /*左侧菜单一级菜单颜色rgb(52, 58, 80)*/
$sidebar-mid-bg: rgb(248, 248, 248); /** 中间级菜单背景色rgb(39, 44, 60) **/
$sidebar-last-bg: rgb(248, 248, 248); /** 末级菜单背景色rgb(39, 44, 60) **/
$sidebar-hover-bg: #409eff; /** 鼠标经过的背景色**/
$sidebar-hover-bg-color: white; /** 鼠标经过的背景色的字体颜色**/
$sidebar-color: #7d7d7d; /** 字体颜色#ddd **/
$sidebar-hover-color: #323232; /** 字体鼠标经过颜色white **/
$sidebar-inner-height: 44px; /** 内侧菜单高度 **/
$sidebar-active-color: #409eff; /** 菜单选中状态#13bfb9**/
:root {
  --calendar-today-bg-color: rgba(216, 10, 30, 0.1);
}
$calendarBg: var(--calendar-today-bg-color);
.money.el-input-number .el-input__inner {
  text-align: right !important;
}
.number.el-input-number .el-input__inner {
  text-align: left !important;
}
.tl-table.el-table th > .cell {
  white-space: nowrap;
}
.tl-box-card .el-card__body {
  padding: 10px;
}
.tl-box-card .el-card__header {
  padding: 15px 10px;
}
.main-container {
  .tl-layout-navbar {
    background: $sidebar-active-color;
  }
}
#app .sidebar-container {
  .el-menu-item.logo {
    background: $sidebar-active-color !important;
  }
  .menu-container {
    background-color: $sidebar-first-bg;
    // .menu-wrapper > .el-submenu > .el-submenu__title {
    //   font-size: 15px;
    //   i {
    //     font-size: 20px;
    //   }
    // }
    .el-submenu {
      background-color: $sidebar-first-bg;
      .el-submenu__title {
        color: $sidebar-color;
        i {
          color: $sidebar-color;
        }
        &:hover {
          background-color: $sidebar-hover-bg;
          color: $sidebar-hover-bg-color;
          i {
            color: $sidebar-hover-bg-color;
          }
        }
      }
      &.is-active > .el-submenu__title {
        color: $sidebar-hover-color !important;
        &:hover {
          background-color: $sidebar-hover-bg;
          color: $sidebar-hover-bg-color !important;
          i {
            color: $sidebar-hover-bg-color;
          }
        }
      }
      .el-menu-item:hover {
        i {
          color: $sidebar-hover-bg-color;
        }
      }
      .el-menu,
      .el-menu-item,
      .el-submenu {
        color: $sidebar-color;
        background-color: $sidebar-last-bg;
        .el-submenu__title {
          background-color: $sidebar-mid-bg;
          height: $sidebar-inner-height;
          line-height: $sidebar-inner-height;
          &:hover {
            background-color: $sidebar-hover-bg;
            color: $sidebar-hover-bg-color;
          }
        }
        &:hover {
          color: $sidebar-hover-bg-color;
          background-color: $sidebar-hover-bg;
        }
      }
      .el-menu-item {
        height: $sidebar-inner-height;
        line-height: $sidebar-inner-height;
        color: $sidebar-color;
        i {
          color: $sidebar-color;
        }
        &.is-active {
          color: $sidebar-active-color;
          border-left: 5px solid $sidebar-active-color;
          background-color: $sidebar-mid-bg;
          i {
            color: $sidebar-active-color;
          }
          span:first-child,
          i:first-child,
          img:first-child {
            margin-left: -5px;
          }
        }
      }
    }
  }
}
.tl-table-fix {
  &.tl-table.el-table--medium td {
    padding: 8px 0;
  }
  &.tl-table.el-table--small td {
    padding: 8px 0;
  }
  &.tl-table.el-table--mini td {
    padding: 8px 0;
  }
}
.tl-dialog {
  .el-dialog {
    width: auto;
  }
}
.tl-dialog-small {
  .el-dialog__header {
    padding: 10px 20px 7px;
    .el-dialog__title {
      font-size: 15px;
    }
    .el-dialog__headerbtn {
      top: 12px;
    }
  }
  .el-dialog__footer {
    padding: 2px 20px 5px;
  }
}
.tl-full-calendar {
  height: 100%;
  .fc .fc-button-primary {
    color: #fff;
    color: var(--fc-button-text-color, #fff);
    background-color: #409eff;
    background-color: var(--fc-button-bg-color, #409eff);
    border-color: #409eff;
    border-color: var(--fc-button-border-color, #409eff);
  }
  .fc .fc-button-primary:not(:disabled):active,
  .fc .fc-button-primary:not(:disabled).fc-button-active {
    color: #fff;
    color: var(--fc-button-text-color, #fff);
    background-color: #3a8ee6;
    background-color: var(--fc-button-active-bg-color, #3a8ee6);
    border-color: #3a8ee6;
    border-color: var(--fc-button-active-border-color, #3a8ee6);
  }
  .fc .fc-button-primary:disabled {
    color: #fff;
    color: var(--fc-button-text-color, #fff);
    background-color: #409eff;
    background-color: var(--fc-button-bg-color, #409eff);
    border-color: #409eff;
    border-color: var(--fc-button-border-color, #409eff);
  }
  .fc .fc-button-primary:hover {
    color: #fff;
    color: var(--fc-button-text-color, #fff);
    background-color: #3a8ee6;
    background-color: var(--fc-button-hover-bg-color, #3a8ee6);
    border-color: #3a8ee6;
    border-color: var(--fc-button-hover-border-color, #3a8ee6);
  }
  .fc .fc-button-primary:focus {
    -webkit-box-shadow: 0 0 0 0rem white;
    box-shadow: 0 0 0 0rem white;
  }
  .fc .fc-dayGridMonth-view .fc-daygrid-day.fc-day-today {
    background-color: $calendarBg;
  }
  .fc .fc-dayGridMonth-view .fc-daygrid-day:hover {
    background-color: $calendarBg;
  }
}
.tl-help {
  display: inline-block;
  .el-popover {
    font-size: 12px;
    line-height: 1.6;
    color: #888;
  }
}
.people-container {
  border: 1px solid #ebeef5;
  border-radius: 5px;
  padding: 5px;
  max-height: 150px;
  min-height: 36px;
  overflow-y: scroll;
  .people-type {
    display: inline-block;
  }
  .el-button--primary {
    background: white;
    border-style: dashed;
    padding: 5px 5px !important;
  }
}
.center-input .input-with-select.el-input-group > .el-input__inner {
  text-align: center;
}
body {
  #app .sidebar-container {
    width: 200px !important;
    .menu-container {
      display: flex;
      .scrollbar-wrapper {
        flex: 1;
        display: block;
        .el-submenu__icon-arrow {
          left: 168px;
        }
      }
    }
  }
  #app .main-container {
    margin-left: 200px;
    .el-date-editor .el-range-separator {
      width: 10%;
    }
  }
}

.theme-picker-dropdown {
  .el-color-dropdown__main-wrapper {
    display: none;
  }
  .el-color-dropdown__value {
    display: none;
  }
  .el-color-predefine {
    width: 90px;
    float: left;
  }
  .el-color-dropdown__btns {
    float: right;
  }
  &.el-color-dropdown {
    width: 160px;
  }
}
.home-page {
  position: relative;
  min-height: 640px;
  .home-left {
    ul {
      padding: 0;
      margin: 0;
      list-style: none;
    }
    position: absolute;
    width: 220px;
    min-height: 100%;
    top: 12px;
    left: 12px;
    color: #444;
    h3 {
      margin: 5px 0 20px 0;
      font-size: 17px;
      overflow: hidden;
    }
    .quick {
      text-align: center;
      margin-bottom: 30px;
      svg {
        font-size: 40px;
        cursor: pointer;
      }
      h5 {
        margin: 10px 0;
        cursor: pointer;
      }
    }
    .my-schedule {
      margin-bottom: 30px;
      border: 1px solid #ececec;
      padding: 0 10px;
      font-size: 13px;
      border-radius: 5px;
      li {
        padding: 15px 0;
        border-bottom: 1px solid #ececec;
        overflow: hidden;
        &:last-child {
          border-bottom: none;
        }
        i {
          font-style: normal;
          display: inline-block;
          margin-left: 10px;
          font-size: 16px;
          font-weight: bold;
          color: #409eff;
        }
      }
    }
    .user-list-container {
      border: 1px solid #ececec;
      border-radius: 5px;
      overflow-y: auto;
      min-height: 180px;
    }
    .owner {
      position: absolute;
      top: 6px;
      left: 70px;
      font-weight: normal;
      font-size: 12px;
      color: #999;
      b {
        font-weight: normal;
        color: #409eff;
      }
    }
  }
  .home-right {
    margin-left: 230px;
  }
  ul.share-list {
    padding: 10px;
    border-radius: 5px;
    font-size: 13px;
    li {
      padding: 10px 5px;
      border-bottom: 1px solid #ececec;
      overflow: hidden;
      line-height: 1em;
      &:hover {
        background-color: rgb(236, 245, 255);
      }
      a {
        float: right;
        color: #409eff; // #009dd9
      }
      &.on {
        color: #409eff;
      }
    }
  }
}
.tl-form .el-form-item {
  .input-with-select {
    .el-select {
      width: 100px;
    }
  }
}
.el-card.calendar-event-card {
  overflow: visible;
}
.tl-tabs .el-tabs__content {
  overflow: visible; // 超出部分可见
}
// 搜索栏多列显示控制优化
.tl-search-div {
  width: 1250px;
}
.tl-search-div .el-form-item {
  margin-bottom: 5px;
}
.page .square {
  width: 6px;
  height: 18px;
  background: #409eff;
  display: inline-block;
  margin-right: 2px;
  vertical-align: middle;
}
.page .viewMeetRecord_link {
  height: 5px;
  color: #409eff;
  float: right;
  margin-top: 5px;
}
.staticCount {
  margin-left: 6px;
  margin-right: 2px;
  color: #409eff;
  font-size: 13px;
  height: 14px;
  line-height: 15px;
  width: 25px;
  display: inline-block;
}
.personCount {
  padding: 5px !important;
  border: solid 2px #409eff !important;
}
.personCount_click {
  background-color: #409eff !important;
  color: white !important;
}
.staticCount_click {
  margin-left: 6px;
  margin-right: 2px;
  color: white;
  font-size: 13px;
  height: 14px;
  line-height: 15px;
  width: 25px;
  display: inline-block;
}
.hide-modal .v-modal {
  background: transparent;
}
.tl-ref-selector {
  .el-input-group__append {
    &.is-disabled  {
      background-color: #f5f7fa;
      color: #909399;
      border: 1px solid #dcdfe6;
    }
  }
}
//会议发布全局样式
.page .share-content {
  margin-left: 15px;
  margin-bottom: 5px;
}
.page .label-content {
  color: #409eff;
}
.page .el-collapse-item__header {
  color: blue;
}

.page .el-divider__text {
  color: blue;
}
.page .el-row {
  margin-right: 40px;
}
.page .el-divider--horizontal {
  margin: 14px 0;
}
.page .meetTitle {
  padding-top: 5px;
  padding-bottom: 10px;
  padding-left: 30px;
}
.page .meetInfo {
  color: black;
  font-size: 14px;
  font-weight: bold !important;
  vertical-align: middle;
}
.page .el-scrollbar__wrap {
  overflow-x: hidden;
}
.page .viewMeetRecord_link {
  padding: 0;
}
